package com.design.外观模式;

/**
 * @author: sun.hongliang
 * @create: 2019/08/16 11:48
 */
public class ShapeMaker {
    private Shap rectangle;
    private Shap circle;

    public ShapeMaker() {
        rectangle = new Rectangle();
        circle = new Circle();
    }

    public void drawCircle() {
        circle.draw();
    }

    public void drawRectangle() {
        rectangle.draw();
    }
}
